﻿namespace PrismEx.SampleApp
{
    using System.Threading;
    using System.Windows;

    using PrismEx.SampleApp.Modules.SplashScreen;

    public partial class App
    {
        private void ApplicationStartup(object sender, StartupEventArgs e)
        {
            var waitevent = new ManualResetEvent(false);

            //var t=  new Thread(() =>
            //    {
            //        var splashScreen = new Splash();
            //        splashScreen.ShowDialog();
            //    });
            //t.SetApartmentState(ApartmentState.STA);
            //t.Start();

            

            var bootstrapper = new Bootstrapper();
            bootstrapper.Run();
            
            //t.Abort();
        }
    }
}
